package com.dz.finance.wechat.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: DengHaoQi
 * @date: 2024/6/4 21:30
 * @description:
 */

@Component
@ConfigurationProperties(prefix = "wechat")
@Data
public class WeChatConfig {

    /**
     * 公众号配置
     */
    private WeChatDetailConfig mp;

    /**
     * 小程序配置
     */
    private WeChatDetailConfig miniApp;
}
